#2-1.py

def read():
	filepath = input("input your filepath\n")
	try:
		f = open(filepath, 'r')
		print(f.read(-1))
		f.close
	except IOError:
		print("file is not exist\n")
		read()
	else:
		print("file read success\n")
	finally:
		pass

read()